home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group03a.txt / 000082_icon-group-sender_Tue Jun 24 09:45:41 2003.msg < prev    next >
Internet Message Format  |  2003-12-22  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id h5OGiVI09407
  4.     for icon-group-addresses; Tue, 24 Jun 2003 09:44:31 -0700 (MST)
  5. Message-Id: <200306241644.h5OGiVI09407@baskerville.CS.Arizona.EDU>
  6. From: "Frank J. Lhota" <NOSPAM.lhota.adarose@verizon.net>
  7. X-Newsgroups: comp.lang.icon
  8. Subject: Re: Problem at int/bigint boundary
  9. X-Priority: 3
  10. X-MSMail-Priority: Normal
  11. X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
  12. X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
  13. Date: Mon, 23 Jun 2003 20:43:09 GMT
  14. X-Complaints-To: abuse@verizon.net
  15. To: icon-group@cs.arizona.edu
  16. X-Spam-Status: No, hits=-0.5 required=5.0
  17.     tests=PRIORITY_NO_NAME,QUOTED_EMAIL_TEXT,REFERENCES
  18.     version=2.55
  19. X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)
  20. Errors-To: icon-group-errors@cs.arizona.edu
  21. Status: RO
  22.  
  23. "Walter Faxon" <wfaxon@gis.net> wrote in message
  24. news:57958c65.0306221432.5d95e5be@posting.google.com...
  25. > Hello.  I don't know if this has been fixed in later versions/ports,
  26. > but in the OS/2 non-graphical version of Icon 9.3.1 (using icont), the
  27. > following tiny program crashes:
  28. >
  29. > procedure main()
  30. >     local x
  31. >     x := -2147483648
  32. >     x := -x
  33. > end
  34. >
  35. > I found this when abs(x) was called.
  36.  
  37. A while back, I found a number of arithmetic errors around the boundaries
  38. between C integers and large integers. I devised a fix and submitted to the
  39. Icon project. My arithmetic fixes were incorporated into an official version
  40. of Icon (I forget which version). At any rate, this works OK for Icon 9.4.1.
  41.  
  42.  
  43.